<!DOCTYPE html>
<html>
<head>
<title>JwsCms内容管理系统</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="__CSS__/style.css" />
<script src="__STATIC__/js/jquery-1.7.2.min.js"></script> 

</head>
<body>

  <div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">数据表</a></li>
    <li><a href="#">基本内容</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
      <ul class="toolbar">
        <li><a href="{:U('edit')}" ><span><img src="__IMG__/t01.png" /></span>添加</a></li>
        </ul>
        
        
        <ul class="toolbar1">
        <li><span><img src="images/t05.png" /></span>设置</li>
        </ul>
    
    </div>
     <table class="tablelist">
          <thead>
            <tr>
              <th width="92">ID</th>
              <th>标题</th>
              <th>栏目类型</th>
              <th>栏目目录</th>
              <th width="150">显示导航</th>
              <th width="150">状态</th>
              <th width="200">操作</th>
            </tr>
          </thead>
          <tbody>
            <volist name="list" id="vo">
              <tr>
                <td  width="92" align='center'>{$vo.id}</td>
                <td><input type="text"  name="sort[]"  size="2" class="input-sort" value="{$vo.sort}" />&nbsp;{$vo.title}<a href="{:U('edit',array('parentId'=>$vo['id']))}" title="添加" class="add" style="float: none; display: inline-block;"></a></td>
                <td align='center'>{$vo.name}</td>
                <td align='center'>{$vo.dir}</td>
                <td align="center"><if condition="$vo['isnav']">显示<else/>关闭</if></td>
                <td align="center"><if condition="$vo['status']">开启<else/>关闭</if></td>
                <td align="center"><a href="__MODULE__/Channel/edit/id/{$vo.id}" title="编辑" class="edit"></a><a href="__MODULE__/Channel/del/id/{$vo.id}" title="删除" class="del"></a></td>
              </tr>
                <volist name="vo.child" id="e">
                <tr>
                  <td  width="92" align='center'>{$e.id}</td>
                  <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="sort[]"  size="2" class="input-sort" value="{$e.sort}" />&nbsp;{$e.title}<!--a href="{:U('edit',array('parentId'=>$e['id']))}" title="添加" class="add" style="float: none; display: inline-block;"></a--></td>
                  <td align='center'>{$e.name}</td>
                  <td align='center'>{$e.dir}</td>
                  <td align="center"><if condition="$e['isnav']">显示<else/>关闭</if></td>
                  <td align="center"><if condition="$e['status']">开启<else/>关闭</if></td>
                  <td align="center"><a href="__MODULE__/Channel/edit/id/{$e.id}" title="编辑" class="edit"></a><a href="__MODULE__/Channel/del/id/{$e.id}" title="删除" class="del"></a></td>
                </tr>
              </volist>
              <!--volist name="e.child" id="s">
                <tr>
                  <td  width="92" align='center'>{$s.id}</td>
                  <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"  name="sort[]"  size="2" class="input-sort" value="{$s.sort}" />&nbsp;{$s.title}</td>
                  <td align='center'>{$s.name}</td>
                  <td align='center'>{$s.dir}</td>
                  <td align="center"><if condition="$s['status']">开启<else/>关闭</if></td>
                  <td align="center"><a href="__MODULE__/Channel/edit/id/{$s.id}" title="编辑" class="edit"></a><a href="__MODULE__/Channel/del/id/{$s.id}" title="删除" class="del"></a></td>
                </tr>
              </volist-->
            </volist>
          </tbody>
        </table>
  
    </div>
  <script type="text/javascript">
    $('.tablelist tbody tr:odd').addClass('odd');
    </script>
</body>
</html>









